package com.hxy.travel.dao;

import com.hxy.travel.pojo.OrderSetting;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface OrderSettingDao {
    int selectCountByDate(Date orderDate);

    void editNumberByDate(OrderSetting orderSetting);

    void addOrderSetting(OrderSetting orderSetting);

    List<OrderSetting> getOrderSettingByMonth(@Param("dateBegin") String dateBegin,@Param("dateEnd") String dateEnd);

    OrderSetting findOrderSettingOrderDate(Date date);

    void editOrderSetting(OrderSetting orderSetting);
}
